<template>
  <div>
    <p>这是VideoView.vue里面的一个视频信息</p>
    <p>获取到的视频Id为：{{ id }}</p>
    <router-link :to="{name:'video-info1', params:{id:28}}">点赞</router-link> |
    <router-link :to="{name:'video-info2', params:{id:28}}">互动</router-link>
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'VideoView',
  props: ['id']
}
</script>

<style></style>
